load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "go-jose_v2",
    srcs = [
        "asymmetric.go",
        "crypter.go",
        "doc.go",
        "encoding.go",
        "jwe.go",
        "jwk.go",
        "jws.go",
        "opaque.go",
        "shared.go",
        "signing.go",
        "symmetric.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/gopkg.in/square/go-jose.v2",
    importpath = "gopkg.in/square/go-jose.v2",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/golang.org/x/crypto/ed25519",
        "//vendor/golang.org/x/crypto/pbkdf2",
        "//vendor/gopkg.in/square/go-jose.v2/cipher",
        "//vendor/gopkg.in/square/go-jose.v2/json",
    ],
)
